﻿namespace WpfApp5_StackPanel.Model
{
    public class PersonalInfo
    {
        private string name;
        public string Name
        {
            get { return name; }
            set { name = value; }
        }
        private int workYears;
        public int WorkYears
        {
            get { return workYears; }
            set { workYears = value; }
        }
        private string workPhoneNumber;
        public string WorkPhoneNumber
        {
            get { return workPhoneNumber; }
            set { workPhoneNumber = value; }
        }
        private string email;
        public string Email
        {
            get { return email; }
            set { email = value; }
        }

        public PersonalInfo(string name, int year, string phoneno, string email)
        {
            this.name = name;
            this.workYears = year;
            this.workPhoneNumber = phoneno;
            this.email = email;
        }
    }
}